package org.cid54.jshopper.dao;

import java.util.List;
import org.cid54.jshopper.model.User;
import org.cid54.jshopper.model.UserGroup;

/**
 *
 * @author fgo
 */
public interface UserGroupDao extends SuperEntityDao<UserGroup> {

    UserGroup findByName(String name);

    List<UserGroup> findByUser(User u);

}
